import 'package:flutter/material.dart';
import 'package:home_box/pages/medicine/MedicineV/widgets/medicine_target.dart';
import 'package:home_box/pages/medicine/MedicineV/widgets/medicine_user_name.dart';
import 'package:home_box/pages/medicine/MedicineV/widgets/medicine_info_indication.dart';

import 'medicine_daily_frequency.dart';
import 'medicine_expiry_date.dart';
import 'medicine_info_every_count.dart';
import 'medicine_name.dart';
import 'medicine_product_date.dart';

/// 药品信息
class MedicineInfo extends StatelessWidget {
  const MedicineInfo({super.key});

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: MediaQuery.of(context).size.width / 2,
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          MedicineName(),
          MedicineProductDate(),
          MedicineExpiryDate(),
          DailyFrequency(),
          MedicineEveryTimeCount(),
          MedicineUserName(),
          MedicineTarget(),
          MedicineInfoIndication(),
        ],
      ),
    );
  }
}